home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / Tool Chest / Networking / MacTCP / MacTCP Developer Tools / MacTCP 1.1 DTS Header Changes / dnr.c.diff < prev    next >
Encoding:
Text File  |  1993-06-15  |  1.9 KB  |  56 lines  |  [TEXT/MPS ]

  1. File #1: dnr.c
  2. File #2: fixed:dnr.c
  3.  
  4. Extra lines in 2nd before 7 in 1st (File "dnr.c"; Line Δ7; File "fixed:dnr.c"; Line 7:8)
  5.    7        Further modifications by Steve Falkenburg, Apple MacDTS 8/91
  6.    8        
  7.  
  8.  
  9. Nonmatching lines (File "dnr.c"; Line 19:26; File "fixed:dnr.c"; Line 21:28)
  10.   19    #define OPENRESOLVER    1
  11.   20    #define CLOSERESOLVER   2
  12.   21    #define STRTOADDR       3
  13.   22    #define ADDRTOSTR       4
  14.   23    #define ENUMCACHE       5
  15.   24    #define ADDRTONAME      6
  16.   25    #define HINFO           7
  17.   26    #define MXINFO          8
  18.  
  19.   21    #define OPENRESOLVER    1L                  /* need to make these longs explicit, even though... */
  20.   22    #define CLOSERESOLVER   2L                  /* ...the prototype below would do it normally.  This*/
  21.   23    #define STRTOADDR       3L                  /* ...is a workaround for a bug in Think C 4.0.5.    */
  22.   24    #define ADDRTOSTR       4L
  23.   25    #define ENUMCACHE       5L
  24.   26    #define ADDRTONAME      6L
  25.   27    #define HINFO           7L
  26.   28    #define MXINFO          8L
  27.  
  28.  
  29. Nonmatching lines (File "dnr.c"; Line 30:31; File "fixed:dnr.c"; Line 32:33)
  30.   30    typedef OSErr (*OSErrProcPtr)();
  31.   31    OSErrProcPtr dnr = nil;
  32.  
  33.   32    typedef OSErr (*OSErrProcPtr)(long,...);    /* added proto for Think C compatibility -->SJF<-- */
  34.   33    OSErrProcPtr dnr = nil;                     /* ... otherwise, first arg would be passed as short*/
  35.  
  36.  
  37. Extra lines in 2nd before 158 in 1st (File "dnr.c"; Line Δ158; File "fixed:dnr.c"; Line 160)
  38.  160        long rezSize;
  39.  
  40.  
  41. Extra lines in 1st before 182 in 2nd (File "dnr.c"; Line 179; File "fixed:dnr.c"; Line Δ182)
  42.  179            CloseWD(refnum);
  43.  
  44.  
  45. Extra lines in 2nd before 184 in 1st (File "dnr.c"; Line Δ184; File "fixed:dnr.c"; Line 186)
  46.  186        MoveHHi(codeHndl);
  47.  
  48.  
  49. Nonmatching lines (File "dnr.c"; Line 292; File "fixed:dnr.c"; Line 295:296)
  50.  292        };
  51.  
  52.  295        }   /* removed ; (causes syntax err in Think C 5.0 */
  53.  296        
  54.  
  55. *** EOF on both files ***
  56.